package com.cpz.rabbitmq.service;

import com.cpz.rabbitmq.message.RabbitMessage;

/**
 * @author cpz
 * @since 2022/09/19
 */
public interface RabbitService {

    /**
     * 发送消息
     * @param message
     */
    void send(RabbitMessage message);

    /**
     * 创建队列
     *
     * @param queueName
     */
    String declareQueue(String queueName);
}
